package com.yunyao.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yunyao.dao.model.BamuProject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 用户表 Mapper 接口
 * </p>
 *
 * @author xingjishuai
 * @since 2024-07-02
 */
public interface BamuProjectMapper extends BaseMapper<BamuProject> {

    List<BamuProject> pageList(
            @Param("projectName") String projectName,
            @Param("projectType")String projectType,
            @Param("projectList")List<String> projectList,
            @Param("ancestors")String ancestors,
            @Param("pageIndex")long pageIndex,
            @Param("pageSize")long pageSize);

    long pageCount(@Param("projectName") String projectName,
                   @Param("projectType")String projectType,
                   @Param("projectList")List<String> projectList,
                   @Param("ancestors")String ancestors);

}
